package com.info.provider.service.impl;

import com.info.api.Animal;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class Dog implements Animal {

    @Override
    public String run() {
        String msg = "小狗跑起来一蹦一跳...";
        log.info(msg);
        return msg;
    }

    @Override
    public String speak() {
        String msg = "小狗叫起来汪汪汪...";
        log.info(msg);
        return msg;
    }
}
